luci-app-uhttpd: fix translation for key option
authorAaron Tiensivu <[email protected]>
Mon, 20 Jul 2020 21:38:15 +0000 (17:38 -0400)
committerAaron Tiensivu <[email protected]>
Mon, 20 Jul 2020 21:38:15 +0000 (17:38 -0400)
Clarify DER support as having DER and PEM support.
Issue #4248's request.

Signed-off-by: Aaron Tiensivu <[email protected]>
applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua

index eadf9b57226546da8b02efb79037e07fdd86ef79..20929036d729ae03ae9d0a57ed72d3b233c1144c 100644 (file)
@@ -91,9 +91,9 @@ o = ucs:taboption("general", Flag, "rfc1918_filter", translate("Ignore private I
 o.default = o.enabled
 o.rmempty = false
 
-cert_file = ucs:taboption("general", FileUpload, "cert", translate("HTTPS Certificate (DER Encoded)"))
+cert_file = ucs:taboption("general", FileUpload, "cert", translate("HTTPS Certificate (DER or PEM format)"))
 
-key_file = ucs:taboption("general", FileUpload, "key", translate("HTTPS Private Key (DER Encoded)"))
+key_file = ucs:taboption("general", FileUpload, "key", translate("HTTPS Private Key (DER or PEM format)"))
 
 o = ucs:taboption("general", Button, "remove_old", translate("Remove old certificate and key"),
                  translate("uHTTPd will generate a new self-signed certificate using the configuration shown below."))